import Layout from '@/pages/public/layout' // 公共部分

const user = [{
  path: '/user/group',
  component: Layout,
  children: [{
    path: '',
    component: () => import('@/pages/user/admin/group/index.vue'),
    meta: {
      title: '角色管理',
      permission: 'user.admin.role.list'
    }
  }, {
    path: 'auth/:id/edit',
    component: () => import('@/pages/user/admin/group/auth.vue'),
    meta: {
      title: '角色授权',
      permission: 'user.admin.role.auth'
    }
  }]
}]

export default user
